package AnalysisApi;

import java.util.List;

public class structs {
    private String name;
    private String base;
    private List<fields> fields;

    public structs() {
    }

    public structs(String name, String base) {
        this.name = name;
        this.base = base;
    }

    public structs(String name,String base, List<fields> fields) {
        this.name = name;
        this.base = name;
        this.fields = fields;
    }

    public String getname() {
        return name;
    }
    public void setname(String x) {
        this.name = x;

    }
    public String getbase() {
        return base;
    }
    public void setbase(String x) {
        this.base = x;

    }
    public List<fields> getfields() {
        return fields;
    }
    public void setFields(List<fields> fields) {
        this.fields = fields;

    }

    public String toString() {
        return "structs:{"+
                "name:" + name +' ' +
                ",base:" +base + ' '+
                ",fields:" + fields +"}";
    }
}

